using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
//using Scurvy.Media;
using Microsoft.Xna.Framework.Content;
using BoOnce.Components;
using BoOnce.Core;

namespace BoOnce.Steps
{
    class IntroStep : Step
    {
        private SpriteBatch _SpriteBatch;
        //private Video _VideoIntro;
        //private ContentManager _VideoContentManager;

        public IntroStep(Game game)
            : base(game, "Game Intro")
        {
            _SpriteBatch = new SpriteBatch(Game.GraphicsDevice);
            //_VideoContentManager = (ContentManager)BaseGame.GetInstance().Services.GetService(typeof(VideoContentManager));
        }

        public override void LoadContent()
        {
            //_VideoIntro = _VideoContentManager.Load<Video>("Videos/Face2");
            //_VideoIntro.Play();
        }
        public override void UnloadContent()
        {
            //_SpriteBatch.Dispose();
        }

        public override void Update(GameTime gameTime)
        {
            //_VideoIntro.Update();
        }

        public override void Draw(GameTime gameTime)
        {
            //if (_VideoIntro.IsPlaying)
            //{
            //    _SpriteBatch.Begin();
            //    _SpriteBatch.Draw(_VideoIntro.CurrentTexture, new Vector2(10,10), Color.White);
            //    _SpriteBatch.End();
            //}
        }
    }
}
